<template>
  <div>
    测试时需要禁用MockJs否则会报错。或者不在main.js全局引入，只在需要的地方引用。
    <el-form ref="form" :model="form" label-width="80px">
      <el-form-item label="标题" prop="title">
        <el-input v-model="form.title" placeholder="请输入应用名称"/>
      </el-form-item>
      <el-form-item label="上传包" prop="downloadUrl">
        <SimpleFileUpload v-model="form.downloadUrl" :fileSize=150 :fileType="['apk','txt']"/>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>

// 文件上传组件
import SimpleFileUpload from '@/views/eye/components/SimpleFileUpload'

export default {
  name: "UploadDemo",
  components: {SimpleFileUpload},
  data() {
    return {
      // 表单参数
      form: {}
    };
  },
  created() {
  },
  methods: {}
};
</script>
